/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1.dos;

/**
 *
 * @author abelitro
 */
import java.io.*;

class Animal {

    Animal() {
        System.out.print("a");
    }
}

class Dog extends Animal implements Serializable {

    Dog() {
        System.out.print("d");
    }
}

public class Beagle extends Dog {
}
